package cn.buildworld.mapper;

import cn.buildworld.pojo.po.CmsUserRole;
import cn.buildworld.pojo.po.CmsUserRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsUserRoleMapper {
    int countByExample(CmsUserRoleExample example);

    int deleteByExample(CmsUserRoleExample example);

    int deleteByPrimaryKey(Long userRoleId);

    int insert(CmsUserRole record);

    int insertSelective(CmsUserRole record);

    List<CmsUserRole> selectByExample(CmsUserRoleExample example);

    CmsUserRole selectByPrimaryKey(Long userRoleId);

    int updateByExampleSelective(@Param("record") CmsUserRole record, @Param("example") CmsUserRoleExample example);

    int updateByExample(@Param("record") CmsUserRole record, @Param("example") CmsUserRoleExample example);

    int updateByPrimaryKeySelective(CmsUserRole record);

    int updateByPrimaryKey(CmsUserRole record);
}